package io.renren.modules.newBackground.shanDongCmcc.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value = "山东移动后台查询投诉信息应答")
public class ShanDongCmccComplainResp implements Serializable {
    private static final long serialVersionUID = -1086898778060519767L;


    @ApiModelProperty(value = "应答码")
    private int code;

    @ApiModelProperty(value = "应答码描述")
    private String message;

    @ApiModelProperty(value = "面向用户返回报文")
    private String userMessage;

    @ApiModelProperty(value = "时间戳")
    private long timestamp;

    @ApiModelProperty(value = "返回信息")
    private DataNode data;

    @Data
    @ApiModel(value = "返回信息节点")
    public static class DataNode implements Serializable {
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "总数")
        private int total;

        @ApiModelProperty(value = "投诉信息列表")
        private List<OrderInfo> orderInfo;

    }

    @Data
    @ApiModel(value = "投诉信息")
    public static class OrderInfo implements Serializable {
        private static final long serialVersionUID = 1L;

        @ApiModelProperty(value = "流水号")
        private String recNo;

        @ApiModelProperty(value = "封装订单号")
        private String orderId;

        @ApiModelProperty(value = "工单流水")
        private String serialNo;
    }
}
